From: Liu, Jinsong Date: Fri, 14 Jan 2011 15:47:01 +0000 (+0000) Subject: PoD: Fix two code comments X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~10918^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=ecc523710a45b2301866b023435517600aec09b9;p=xen.git PoD: Fix two code comments Signed-off-by: Liu, Jinsong Acked-by: George Dunlap --- diff --git a/tools/libxc/xc_hvm_build.c b/tools/libxc/xc_hvm_build.c index d3a2e194a1..dbac09467c 100644 --- a/tools/libxc/xc_hvm_build.c +++ b/tools/libxc/xc_hvm_build.c @@ -431,8 +431,9 @@ int xc_hvm_build(xc_interface *xch, /* xc_hvm_build_target_mem: * Create a domain for a pre-ballooned virtualized Linux, using * files/filenames. If target < memsize, domain is created with - * memsize pages marked populate-on-demand, and with a PoD cache size - * of target. If target == memsize, pages are populated normally. + * memsize pages marked populate-on-demand, + * calculating pod cache size based on target. + * If target == memsize, pages are populated normally. */ int xc_hvm_build_target_mem(xc_interface *xch, uint32_t domid, diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 5087781710..c5def0b03f 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -209,7 +209,7 @@ struct domain spinlock_t domain_lock; spinlock_t page_alloc_lock; /* protects all the following fields */ - struct page_list_head page_list; /* linked list, of size tot_pages */ + struct page_list_head page_list; /* linked list */ struct page_list_head xenpage_list; /* linked list (size xenheap_pages) */ unsigned int tot_pages; /* number of pages currently possesed */ unsigned int max_pages; /* maximum value for tot_pages */